/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
}

/* 导航栏样式 */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1f1f1f;
  padding: 1rem 2rem;
}

.logo a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ffd700;
}

/* 轮播图样式 */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.mySlides {
  display: none;
}

.mySlides img {
  width: 100%;
  height: auto;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

/* 主要内容样式 */
.content {
  text-align: center;
  padding: 2rem;
}

.content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #666;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #1f1f1f;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #ffd700;
  color: #1f1f1f;
}

.whole {
            background-color: bisque;
            width: 1200px;
            margin: 0px auto;
        }

        .head {
            margin: 0px auto;
            background-color: antiquewhite;
        }

        h1 {
            text-align: center;
        }

        .banner {
            width: auto;
            background-color: aqua;

        }

        .class0 {
            background-color: bisque;
            margin: 0px auto;
            width: 1200px;
        }

        .class1 {
            float: left;
            background-color: aquamarine;
            height: 100px;
            width: 180px;
            line-height: 100px;
            text-align: center;
            border-radius: 1px;
            margin-right: 24px;
        }

        .class1:hover {
            color: brown;
            background-color: rgb(123, 73, 8);
        }

        .class2 {
            background-image: url(./imgs/蒙德.jpg);
        }

        .class3 {
            background-image: url(./imgs/璃月.jpg);
        }

        .class4 {
            background-image: url(./imgs/稻妻.jpg);
        }

        .class5 {
            background-image: url(./imgs/枫丹.jpg);
        }

        .class6 {
            background-image: url(./imgs/须弥.jpg);
        }

        .class7 {

            margin-right: 0px;
            background-image: url(./imgs/纳塔.jpg);
        }

        a {
            text-decoration: none;
            color: black;
            font-family: "楷书", "Helvetica Neue", Helvetica, sans-serif;
            font-size: 28px;
        }

        .img1 {
            margin: 15px 0px;
            padding-left: 40px;
        }

        .img2 {
            padding-right: 40px;
            float: right;
        }